import { request } from '@/api/request'

export const getQuestionById = (id) => {
    return request({
        query: id,
        method: "GET",
        url: 'question',
        route: 'byid'
    }).then(res => {
        if(res.code !== '200') return this.$message.info('获取数据失败')
        return res.data
    })
}



